package com.ruoyi.project.system.auth.mapper;

import com.ruoyi.project.system.auth.domain.SysAuth;

import java.util.List;

/**
 * @author renzhihao
 * @date 2023/10/12 15:30
 */
public interface AuthMapper {

    List<SysAuth> selectAuthList(SysAuth sysAuth);

    int insertAuth(SysAuth sysAuth);

    SysAuth selectById(Long authId);

    int updateAuth(SysAuth sysAuth);

    int deleteAuthByIds(Long[] ids);

    List<SysAuth> selectByIds(Long[] ids);

    SysAuth checkAuthNameUnique(String authName);

    SysAuth checkClientNameUnique(String clientName);

    SysAuth checkMetadataFilenameUnique(String metadataFilename);

    int countByKeystoreIds(Long[] keystoreIds);

}
